home *** CD-ROM | disk | FTP | other *** search
- I have included my utilities:
-
- DFree - Disk Free space lister, giving BYTES not BLOCKS
- FreeMem - Free Memory lister.
- Prefs - Utility to change preferences.
- Sweep - Utility to flush unused libraries/devices to recover mem.
- WinSize - Window re-sizer.
-
- All but Sweep appeared on Amigan disk #11, and most were slightly larger than
- these versions. The ones included here are set to work as resident commands,
- and I have used them myself that way. Read the file 'Resident.doc' to find
- how to use the Resident command.
-
- I must take exception to something written in an early issue of the Amigan, a
- statement that there was no real use for the Resident command, and that it was
- just a waste of space [Comment from Dick Barnes: well, I didn't say that. I
- did say that Resident is dangerous and offers no advantages unless you have
- a large program resident in RAM which you don't want copied for execution. I
- stand by that statement. See below.]
-
- This command has one MAJOR advantage over other formats (such as keeping the
- files in RAM:), which is shown by the following example:
-
- Suppose you had stored FreeMem in RAM:c, and you had used the Path
- command to set a path to RAM:c to look for command files.
- Now, while writing the great American novel, you want to see if
- you have enough memory to start your print spooler in the background.
- Ok, you activate PopCLI, and type FreeMem.
-
- 'Unknown command FreeMem'
-
- is all you get. Why? Because the CLI window brought up by PopCLI
- doesn't know about the path set up by your previous CLI command, so
- to run FreeMem, you will have to specify the full pathname, or execute
- the path command AGAIN.
-
- [Comment from Dick Barnes: Jim, if you put RAM:C in PATH in your
- s-sequence before you load POPCLI, every incarnation of POPCLI
- inherits the PATH showing RAM:c, and you'll get DFREE, MEMFREE, and
- your other ram:c commands always from POPCLI--even if you subse-
- quently change PATH. You don't have to swat this gnat with the
- RESIDENT sledgehammer.]
-
- This can all be avoided by having FreeMem resident. Any new CLI brought up
- after the initial Resident-CLI knows about all the resident commands, and
- will search them before the current directory or c: or the rest of any path
- you may have created.
-
- As for the increased size...most of this extra size is only on disk! The
- resident CLI is only a little bigger than the default CLI, and if you use
- the Resident command correctly, you REPLACE the default CLI with the resident
- capable version, NOT have both at the same time!
-
- The one caveat is that to make a program resident, it must have been designed
- to be resident (all variables allocated dynamically, etc.) or you could have
- problems trying to invoke it twice, as explained in the 'Resident.doc' file,
- specifically the reference to making TxEd resident.
-
- All I can say is "Try it, you'll like it." (Maybe. If not, nothing wasted but
- a very small amount of time. After all, you can always erase these files and
- pretend they never existed!)
-
- -jec
-